package personal.xjl._23java1studentdemo.model;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    int id;
    String name;
    String password;
    int sex;
    String birthday;
    int course_id;
    Course course; //一对一关系属性
    String professional;
}
